<?php
declare(ticks = 1);
//include("AllWeb.inc.php");
$arrWeb = array("luckyball.us",
							"usbet11.us",
							"usbet22.us",
							"usbet33.us",
							"usbet55.us",
							"usbet66.us",
							"usbet77.us",
							"usbet777.us",
							"usbet88.us",
							"usbet99.us",
							"cambosix.net",
							"k-wbl.com",
							"k-wbl.net", 
							"us11.us", 
							"us55.us",
							"us77.us",
							"us888.us",
							"us99.us",
							"us168.net",
							"union168.net"
							);
foreach($arrWeb as $strWeb){
	$pcid = pcntl_fork();
	if ($pcid == -1) {
		die("Could not fork!");
	}elseif ($pcid) {
		echo "There are $strWeb kids to terminate.\n";
	}else{
		if (!posix_setsid()) { die ("Could not detach"); }; // detach
		echo "I am child number $strWeb\n";
		sleep(5);
		exit();
	}
}
?>
